<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>3D相册</title>
    <style>
        body{
            margin: 0px;
            height: 100vh;
            overflow: hidden;
        }
        section{
            width: 100vw;
            height: 100vh;
            position: relative;
            /*perspective-origin: -50% 150%;*/
            transform-style: preserve-3d;
            animation:qq 3.5s linear infinite;
        }
        div{
            width: 30vw;
            height: 30vw;
            position: absolute;
            left: calc(50% - 15vw/2);
            top: calc(50% - 15vw/2);
            background-size: 100% 100%;
            /*background-repeat: no-repeat;*/
        }
        div:nth-of-type(1){
            background-image: url(11.jpg);
            transform: translateY(-15vw) rotateX(90deg);
        }
        div:nth-of-type(2){
            background-image: url(22.jpg);
            transform: translateY(15vw) rotateX(90deg);
        }
        div:nth-of-type(3){
            background-image: url(33.jpg);
            transform: translateX(-15vw) rotateY(90deg);
        }
        div:nth-of-type(4){
            background-image: url(44.jpg);
             transform: translateX(15vw) rotateY(90deg);
        }
        div:nth-of-type(5){
            background-image: url(55.jpg);
             transform: translateZ(15vw);
        }
        div:nth-of-type(6){
            background-image: url(66.jpg);
             transform: translateZ(-15vw);
        }
        @keyframes qq{
            from{
                transform: translateZ(-20px) rotateY(0deg) rotateX(0deg);
            }
            to{
                transform: translateZ(20px) rotateY(360deg) rotateX(-360deg);
            }
        }
    </style>
</head>
<body>
    <section>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
        <div></div>
    </section>
</body>
</html>